﻿<div id ="right-bar" class="yui-b">
      	<div id="searchblock">        
        <h3>搜索内容</h3>
        <div id="right_search_form">
          <form action="http://tonyqiuspace.appspot.com/search" id="cse-search-box">
					  <div>
					    <input type="hidden" name="cx" value="005775893498406386204:mrupl1sde-o" />
					    <input type="hidden" name="cof" value="FORID:10" />
					    <input type="hidden" name="ie" value="UTF-8" />
					    <input type="text" name="q" size="31" value="请输入关键词" onblur="if(this.value=='') this.value='请输入关键词';" onfocus="if(this.value=='请输入关键词') this.value='';"/>
					    <input type="submit" name="sa" value="Search" class="btn_search_small" />
					  </div>
					</form>
        </div>
        </div>
        <div id="about-block" class="right-block">
        	<h3>关于本站</h3>
		{{ blog.aboutme }}
            	
        </div>
        <div id="comments-block" class="right-block">
        	<h3>最近评论</h3>
            <ul>
            	{% for comment in recent_comments %}
            	<li><a href="/{{comment.entry.link}}#comment-{{comment.key.id}}">{{comment.author}}:</a>{{comment.shortcontent}}...</li>
                {%endfor%}
             </ul>
        </div>
        <div id="cat-block" class="right-block">
        	<h3>分类统计</h3>
            <ul>
            	{%for cate in categories%}
 				 <li>	<a href="/category/{{cate.slug}}">{{cate.name}}({{cate.count}})</a></li>
 				{%endfor%}
             </ul>
        </div>
        <div id="links-block" class="right-block">
        	<h3>友情链接</h3>
            <ul>
            	{%for link in blogroll%}
            	<li><a href="{{link.href}}" target="_blank">{{link.linktext}}</a></li>
                {%endfor%}
            </ul>
        </div>
      </div>